.markdown-preview {
    white-space: pre-wrap;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    background-color: #f8f9fa;
    max-height: 300px;
    overflow-y: auto;
}

.result-section {
    margin-top: 30px;
    display: none;
}

.spinner-border {
    vertical-align: text-top;
}

.copy-btn {
    margin-top: 10px;
}

/* 自定义按钮容器样式 */
.button-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px; /* 控制按钮间距 */
    width: 100%;
}

/* 确保按钮在小屏幕上也能正确显示 */
@media (max-width: 576px) {
    .button-container {
        flex-direction: column;
    }

    .button-container a,
    .button-container button {
        width: 100%;
    }
}